(last-input-char, last-command-char): Move here from src/keyboard.c.
authorGlenn Morris <rgm@gnu.org>
Fri, 9 Jan 2009 03:28:56 +0000 (03:28 +0000)
committerGlenn Morris <rgm@gnu.org>
Fri, 9 Jan 2009 03:28:56 +0000 (03:28 +0000)
lisp/ChangeLog
lisp/subr.el

index caf99acb6138b7e55b842b411efeabd4b239e377..eb7a76c6b3b0ceebb9bc3b07dae8b53f0b344864 100644 (file)
@@ -1,3 +1,8 @@
+2009-01-09  Glenn Morris  <rgm@gnu.org>
+
+       * subr.el (last-input-char, last-command-char):
+       Move here from src/keyboard.c.
+
 2009-01-09  Dave Love  <fx@gnu.org>
 
        * calendar/time-date.el: Require cl for `declare'.
index ee95f48513290b833790417246bba9919a6011a0..c2d3e074fcce0ddaae52b1ff6bbca2f49a6f5b58 100644 (file)
@@ -1059,6 +1059,16 @@ to reread, so it now uses nil to mean `no event', instead of -1."
 (make-obsolete-variable 'translation-table-for-input nil "23.1")
 
 (defvaralias 'messages-buffer-max-lines 'message-log-max)
+
+;; These aliases exist in Emacs 19.34, and probably before, but were
+;; only marked as obsolete in 23.1.
+;; The lisp manual (since at least Emacs 21) descrribes them as
+;; existing "for compatibility with Emacs version 18".
+(define-obsolete-variable-alias 'last-input-char 'last-input-event
+  "at least 19.34")
+(define-obsolete-variable-alias 'last-command-char 'last-command-event
+  "at least 19.34")
+
 \f
 ;;;; Alternate names for functions - these are not being phased out.